package com.example.service.impl;

import com.example.annotations.Autowired;
import com.example.annotations.Service;
import com.example.db.DBSql;
import com.example.service.ExampleService;

import java.util.List;
import java.util.Map;

/**
 * @Classname ExampleServiceImpl
 * @Description TODO
 * @Date 2022/7/26 15:26
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Service
public class ExampleServiceImpl implements ExampleService {

    @Autowired
    private DBSql dbSql;

    @Override
    public List<Map<String, Object>> selectMapList() {
        List<Map<String,Object>> mapList=dbSql.selectList("select * from sys_person ");
        return mapList;
    }
}
